.class Lcom/instagram/android/feed/comments/a/k;
.super Ljava/lang/Object;
.source "CommentThreadFragment.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field final synthetic a:[Ljava/lang/CharSequence;

.field final synthetic b:Lcom/instagram/j/b;

.field final synthetic c:Lcom/instagram/android/feed/comments/a/a;


# direct methods
.method constructor <init>(Lcom/instagram/android/feed/comments/a/a;[Ljava/lang/CharSequence;Lcom/instagram/j/b;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 649
    iput-object p1, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    iput-object p2, p0, Lcom/instagram/android/feed/comments/a/k;->a:[Ljava/lang/CharSequence;

    iput-object p3, p0, Lcom/instagram/android/feed/comments/a/k;->b:Lcom/instagram/j/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 7
    .parameter "dialogInterface"
    .parameter "which"

    .prologue
    .line 652
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 653
    iget-object v0, p0, Lcom/instagram/android/feed/comments/a/k;->a:[Ljava/lang/CharSequence;

    aget-object v0, v0, p2

    .line 654
    iget-object v1, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    sget v2, Lcom/facebook/ba;->delete_and_report_abuse:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/feed/comments/a/a;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 655
    iget-object v0, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    iget-object v1, p0, Lcom/instagram/android/feed/comments/a/k;->b:Lcom/instagram/j/b;

    sget-object v2, Lcom/instagram/android/feed/comments/a/x;->a:Lcom/instagram/android/feed/comments/a/x;

    invoke-static {v0, v1, v2}, Lcom/instagram/android/feed/comments/a/a;->a(Lcom/instagram/android/feed/comments/a/a;Lcom/instagram/j/b;Lcom/instagram/android/feed/comments/a/x;)V

    .line 665
    :cond_0
    :goto_0
    return-void

    .line 656
    :cond_1
    iget-object v1, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    sget v2, Lcom/facebook/ba;->delete:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/feed/comments/a/a;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 657
    iget-object v0, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    invoke-virtual {v0}, Lcom/instagram/android/feed/comments/a/a;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    invoke-virtual {v1}, Lcom/instagram/android/feed/comments/a/a;->u()Landroid/support/v4/app/aj;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/feed/comments/a/k;->b:Lcom/instagram/j/b;

    sget-object v3, Lcom/instagram/android/feed/comments/c/b;->a:Lcom/instagram/android/feed/comments/c/b;

    new-instance v4, Lcom/instagram/android/feed/comments/a/u;

    iget-object v5, p0, Lcom/instagram/android/feed/comments/a/k;->c:Lcom/instagram/android/feed/comments/a/a;

    const/4 v6, 0x0

    invoke-direct {v4, v5, v6}, Lcom/instagram/android/feed/comments/a/u;-><init>(Lcom/instagram/android/feed/comments/a/a;Lcom/instagram/android/feed/comments/a/b;)V

    invoke-static {v0, v1, v2, v3, v4}, Lcom/instagram/android/feed/comments/b/c;->a(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/j/b;Lcom/instagram/android/feed/comments/c/b;Lcom/instagram/android/d/j/a;)V

    goto :goto_0
.end method
